version: '3'

services:
  {PROJECT_NAME}:
    image: {IMAGE_TAG}
    container_name: {PROJECT_NAME}
    hostname: {PROJECT_NAME}
    restart: always
    ports:
      - "{EXTERNAL_PORT}:{INTERNAL_PORT}"
    volumes:
      - /data/{PROJECT_NAME}/logs:/opt/{PROJECT_NAME}/{LOG_PATH}
      - /data/{PROJECT_NAME}/data:/opt/{PROJECT_NAME}/{DATA_PATH}

networks:
  default:
    external:
      name: myapp
